﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SCS.Common.Models
{
    public partial class SchoolYear
    {
        public SchoolYear()
        {
            this.ClassInSchoolYears = new List<ClassInSchoolYear>();
            this.TeachingAssignments = new List<TeachingAssignment>();
            this.Terms = new List<Term>();
        }

        public int schoolYearID { get; set; }
        
        public string schoolYearName { get; set; }
       
        public Nullable<System.DateTime> startDate { get; set; }
        
        public Nullable<System.DateTime> endDate { get; set; }

        public virtual ICollection<ClassInSchoolYear> ClassInSchoolYears { get; set; }
        public virtual ICollection<TeachingAssignment> TeachingAssignments { get; set; }
        public virtual ICollection<Term> Terms { get; set; }
    }
}